package com.itheima.dfs.feign;


import com.itheima.common.vo.ResultVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Set;

/**
 * @author Cheneg
 * @version 1.0
 */
@FeignClient(name = "leadnews-dfs", contextId = "dfsFeign")
public interface DfsFeign {

    @PostMapping("/dfs/download")
    ResultVo downloadFiles(@RequestBody Set<String> fileIds);
}